package inabit.expressioncompiler.productions;

import inabit.compiler.parser.grammar.NonTerminal;
import inabit.compiler.parser.grammar.Production;
import inabit.compiler.parser.grammar.Symbol;
import inabit.expressioncompiler.parser.ExpressionSemanticAction;


/** F' -> &*/
/**@author Rafael Rocha*/
public class F1_Rule3 extends Production {

	public F1_Rule3() {
		super("F'");
	}

	public Symbol[] production(final NonTerminal nonTerminal) {

		Symbol[] symbols = {
			new ExpressionSemanticAction(nonTerminal) {
				public void execute() {
					nonTerminal.code = "";
				}
			} 
		};
		return symbols;
	}
}
